package com.atguigu.gmall.search.service;

public class Test01 {

    public static class ddd{
        public static ddd d = new ddd();
    }

    public static ddd  getInstance(){
        return ddd.d;
    }

    public static void main(String[] args) {
        ddd instance = Test01.getInstance();
        ddd instance1 = Test01.getInstance();
        ddd instance2 = Test01.getInstance();
        System.out.println(instance);
        System.out.println(instance2);
    }
}
